package com.homework.search.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class PostDTO implements Serializable {

    private Long id;
    private String title;

    private Long authorId;
    private String author;
    private String authorVip;
    private String avatar;

    private Long categoryId;
    private String category;

    private Boolean recommend;
    private Integer level;


    private Integer commentCount;
    private Integer viewCount;

    private Date created;

    private Integer status;
}
